package com.atguigu.service;

import com.atguigu.model.system.SysMenu;
import com.atguigu.vo.system.AssginMenuVo;
import com.atguigu.vo.system.RouterVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysMenuService extends IService<SysMenu> {
    List<SysMenu> findNodes();

    void deleteById(Integer id);

    void switchStatus(Integer id, Integer status);

    List<SysMenu> toAssign(Long roleId);

    void doAssign(AssginMenuVo assginMenuVo);

    List<RouterVo> getRouterVoList(List<SysMenu> sysMenus);

    List<String> getPermsList( List<SysMenu> sysMenus,Long userId);


}
